<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:util="http://java.sun.com/jsf/composite/util">
	<ui:composition template="/views/layouts/main.xhtml">
	<ui:define name="content">
		<h:form id="formPrincipal">
			<div class="grid_18">
				<div class="grid_6">
					<util:home action="#{deBean.goHome}" />
					<p:commandButton value="#{i18n.btn_Salvar}" action="#{deBean.salvarDE}"  
						icon="ui-icon ui-icon-disk" ajax="false" onclick="spinner.show();"/>
					<p:commandButton value="#{i18n.btn_Desistir}" action="#{deBean.desistirCreate}"  
						icon="ui-icon ui-icon-cancel" ajax="false" immediate="true" />
						<p:menuitem value="#{i18n.btn_NenhumaAcao}" icon="ui-icon ui-icon-cancel" />
				</div>
				<util:titulo value="#{i18n.DescricaoEstendida_Titulo}" />
				<div class="grid_1">
					<util:help />
				</div>
			</div>
		
			<div class="grid_18">	
				<p:tabView style="min-height:450px;">
					<p:tab title="#{i18n.DescricaoEstendida_DadosBasicos}">
						<ui:include src="/views/de/form/_dadosBasicos.xhtml" />
					</p:tab>
					<p:tab title="#{i18n.DescricaoEstendida_OutrasInfo}" >
						<ui:include src="/views/de/form/_outrasInfo.xhtml" />
					</p:tab>
					<p:tab title="#{i18n.DescricaoEstendida_TipoDados}" >
						<ui:include src="/views/de/form/_tipoDados.xhtml" />
					</p:tab>
					<p:tab title="#{i18n.DescricaoEstendida_Fluxos}" >
						<ui:include src="/views/de/form/_fluxos.xhtml" />
					</p:tab>
					<p:tab title="#{i18n.DescricaoEstendida_Cenarios}" >
						<ui:include src="/views/de/form/_cenarios.xhtml" />
					</p:tab>
				</p:tabView>
			</div>
		</h:form>
	</ui:define>
	</ui:composition>
</f:view>